home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / c / c2local.readme < prev    next >
Text File  |  1995-09-20  |  4KB  |  70 lines

  1. Short:    V1.0, automatic localization for C/C++ sourcecodes 
  2. Author:   meixner@rbg.informatik.th-darmstadt.de (Matthias Meixner)
  3. Uploader: meixner@rbg.informatik.th-darmstadt.de (Matthias Meixner)
  4.  
  5.                            Background
  6.                            ----------
  7. From version 2.1 of the Amiga operatingsystem on, it is possible to generate
  8. programs that support more than one language. One language is compiled into
  9. the program and the other languages are stored in the so called catalogs.
  10. The operatingsystem determines the language on runtime and loads the corres-
  11. ponding catalog. If you want to write a program that supports catalogs, you
  12. must replace all strings by a localizeable version, since the strings are not
  13. the same in all languages. The goal of C2Local was to allow the programmer to
  14. continue programming in the old way, using normal strings, since such source-
  15. code is more readable, and then automatically generate a localized version of
  16. this program. C2Local allows this for nearly all C and C++ sourcecodes. Pro-
  17. grams like CatComp generate sourcecode to access localized strings, but the
  18. programmer must adapt his program by hand. "Localize" is able to patch source-
  19. codes to support locale.library, but it leaves many cases, which cannot be
  20. automatically localized, e.g. the static initialization of structures. Now
  21. C2Local can even localize most of these cases. There is only one exception:
  22. the static initialization of char-arrays.
  23.  
  24. e.g.
  25.  
  26.    char a[]="test";
  27.  
  28. cannot be localized automatically, but the more important case
  29.  
  30.    char *a="test"
  31.  
  32. can be localized using C2Local. This latter case is far more often used, e.g.
  33. it is required for static initialization of menus. Therefore one can localize
  34. menus or gadgets without any problems using C2Local.
  35.  
  36.  
  37. ============================= Archive contents =============================
  38.  
  39. Original  Packed Ratio    Date     Time    Name
  40. -------- ------- ----- --------- --------  -------------
  41.      628     271 56.8% 27-Apr-95 21:54:22  c2local.info
  42.    62260   32137 48.3% 30-Jun-95 00:03:08 +c2local
  43.     1026     555 45.9% 30-Jun-95 00:03:08 +c2local.catalog
  44.      544     355 34.7% 30-Jun-95 00:03:08 +ccomp.catalog
  45.      414     276 33.3% 30-Jun-95 00:03:08 +ctmerge.catalog
  46.      394     261 33.7% 30-Jun-95 00:03:08 +strmerge.catalog
  47.    42964   22998 46.4% 30-Jun-95 00:03:08 +ccomp
  48.    40592   21532 46.9% 30-Jun-95 00:03:08 +ctmerge
  49.    41276   22148 46.3% 30-Jun-95 00:03:08 +strmerge
  50.    16797    5851 65.1% 30-Jun-95 00:03:06 +c2local.doc
  51.      835     319 61.7% 27-Apr-95 21:55:54 +c2local.doc.info
  52.    19292    7035 63.5% 30-Jun-95 00:03:06 +c2local.dok
  53.      835     315 62.2% 27-Apr-95 21:56:02 +c2local.dok.info
  54.      628     274 56.3% 17-Jun-95 00:16:08 +Example.info
  55.     1958     919 53.0% 30-Jun-95 00:03:08 +Beispiel.dok
  56.      835     314 62.3% 17-Jun-95 00:16:08 +Beispiel.dok.info
  57.      194     153 21.1% 30-Jun-95 00:03:08 +deutsch.ct
  58.       63      63  0.0% 30-Jun-95 00:03:08 +edit_script
  59.     1978     904 54.2% 30-Jun-95 00:03:08 +Example.doc
  60.      835     314 62.3% 17-Jun-95 00:16:08 +Example.doc.info
  61.      122      99 18.8% 30-Jun-95 00:03:08 +hello.c
  62.       32      32  0.0% 30-Jun-95 00:03:08 +hello_change.str
  63.      746     340 54.4% 30-Jun-95 00:03:08 +makelocal
  64.     2788    1302 53.2% 30-Jun-95 00:03:06 +liesmich
  65.      835     315 62.2% 27-Apr-95 21:55:46 +liesmich.info
  66.     2534    1186 53.1% 30-Jun-95 00:03:06 +readme
  67.      835     318 61.9% 27-Apr-95 21:55:58 +readme.info
  68. -------- ------- ----- --------- --------
  69.   242240  120586 50.2% 04-Jul-95 13:02:06   27 files
  70.